<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%@ include file="/WEB-INF/commons/taglibs.jsp" %>
<title>Insert title here</title>
</head>
<body>
<center>
	<form:form modelAttribute="blog"> 
		分类：<select>
			<c:forEach items="${blog.blogChannels }" var="channel">
				<option>${channel.channelName }</option>
			</c:forEach>
		</select>&nbsp;&nbsp;&nbsp;<a href="${ctx }/blog/channel">新建分类</a>	</br>
		标题：<form:input path="title" /></br> 
		<form:textarea path="content" /></br>
		可见性：<select>
			<c:forEach items="${visibilitys }" var="visibility">
				<option>${visibility }</option>
			</c:forEach>
		</select>
		<input type="submit" />
 			
	</form:form>
</center>
</body>
</html>